﻿Imports System.Windows.Forms

Public Class CSDNComment

    Private Sub OK_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Me.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.Close()
    End Sub

    Private Sub Cancel_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.Close()
    End Sub

    Private Sub CSDNCommentBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CSDNCommentBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.CSDNCommentBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.CSDN1000DataSet)

    End Sub

    Private Sub CSDNComment_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: 这行代码将数据加载到表“CSDN1000DataSet.CSDNComment”中。您可以根据需要移动或删除它。
        
        Me.CSDNCommentTableAdapter.Fill(Me.CSDN1000DataSet.CSDNComment)
        'For i As Integer = 1 To 29
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 呵呵"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 嘿嘿"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 溜溜"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 看看"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 加点人气"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 瞅瞅"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 踩过"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] hello"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 好啊"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 来逛逛！~~~"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] 踩了"})
        '    Me.CSDN1000DataSet.CSDNComment.Rows.Add(New String() {"[em:" & i & ":] hello ~~"})
        'Next
    End Sub
End Class
